/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ru.vsu.csf.qasystem.syntax.templates;

import java.util.ArrayList;
import java.util.List;

/**
 * Шаблон части предложения.
 * @author Руслан
 */
public class PartTemplate extends AbstractTemplate {
    
    private List<AbstractTemplate> templates;
    
    public PartTemplate(Boolean required, Boolean isMain, String templateName) {
        super(required, isMain);
        templates = SyntaxTemplates.getTemplateByName(templateName);
    }

    public List<AbstractTemplate> getTemplates() {
        return templates;
    }
    
}
